if(typeof Cc == "undefined") { var Cc = Components.classes; }
if(typeof Ci == "undefined") { var Ci = Components.interfaces; }
if(typeof Cu == "undefined") { var Cu = Components.utils; }

	var paneUI = {
		init: function() {
			this.initDlsb();
		},
		
		initDlsb: function() {
			if(!this.srv.getBoolPref("extensions.cfxh.enableDlsb")) {
				this._e("styledlsb-checkbox").disabled = true;
			}
		},

		_e: function(id) {
			return document.getElementById(id);
		},
		
		srv: Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService),
		
		osPlatform: function() {
			return Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime).OS;
		}
	};